﻿<%@ Page Title="" Language="C#" MasterPageFile="~/shop/MasterPage.master" AutoEventWireup="true" CodeFile="UpdateNews.aspx.cs" Inherits="shop_UpdateNews" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .auto-style5 {
            margin-left: 85px;
        }
        .auto-style6 {
            margin-left: 67px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:Label ID="Label1" runat="server" Text="标题"></asp:Label>
    ：<asp:TextBox ID="txtTitle" runat="server"></asp:TextBox>
    <asp:RequiredFieldValidator ID="rfvTitle" runat="server" ControlToValidate="txtTitle" ErrorMessage="标题不能为空！" ForeColor="#FF3300"></asp:RequiredFieldValidator>
    <br />
    内容：<asp:TextBox ID="txtContent" runat="server" MaxLength="255" TextMode="MultiLine"></asp:TextBox>
    <br />
    图片：<asp:FileUpload ID="fupPicture" runat="server" />
    <br />
    <asp:Button ID="Button1" runat="server" CssClass="auto-style5" OnClick="Button1_Click" Text="返回" />
    <asp:Button ID="btnSave" runat="server" CssClass="auto-style6" OnClick="btnSave_Click" Text="保存" />
    <asp:Label ID="labMsg" runat="server" Font-Bold="False" ForeColor="Red"></asp:Label>
</asp:Content>

